package cc.rengu.igas.momp.common.entity;

import java.io.Serializable;
import java.util.Objects;

/**
 * 卡券信息表
 *
 * @author Jinan Liu
 * @version 1.0.0
 * @date 2020/4/7 11:12
 */
public class TMCouponInfo implements Serializable {

    /**
     * 机构编码
     */
    private String instId;
    /**
     * 卡券编号
     */
    private String couponNo;
    /**
     * 营销活动编号
     */
    private String mcNo;
    /**
     * 顺序号
     */
    private String ruleIndex;
    /**
     * 活动门槛
     */
    private String criteria;
    /**
     * 卡券类型
     */
    private String couponType;
    /**
     * 卡券状态
     */
    private String couponStatus;
    /**
     * 卡券可抵扣金额
     */
    private String couponAmt;
    /**
     * 购买标志
     */
    private String purchaseFlag;
    /**
     * 购买金额
     */
    private String purchaseAmt;
    /**
     * 卡券领取方式
     */
    private String claimType;
    /**
     * 领取人
     */
    private String claimUserId;
    /**
     * 领取日期
     */
    private String claimDate;
    /**
     * 领取时间
     */
    private String claimTime;
    /**
     * 订单号
     */
    private String orderId;
    /**
     * 核销时间
     */
    private String redeemTime;
    /**
     * 卡券有效起始日期
     */
    private String couponStartDate;
    /**
     * 卡券有效结束日期
     */
    private String couponEndDate;
    /**
     * 创建人
     */
    private String oprId;
    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 最后修改人
     */
    private String lastOprId;
    /**
     * 修改时间
     */
    private String updateTime;
    /**
     * 备用字段1
     */
    private String remark1;
    /**
     * 备用字段2
     */
    private String remark2;
    /**
     * 备用字段3
     */
    private String remark3;
    /**
     * 备用字段4
     */
    private String remark4;
    /**
     * 备用字段5
     */
    private String remark5;
    /**
     * 卡券规则描述
     */
    private String ruleContent;

    private String rowno;

    public String getInstId() {
        return instId;
    }

    public void setInstId(String instId) {
        this.instId = instId;
    }

    public String getCouponNo() {
        return couponNo;
    }

    public void setCouponNo(String couponNo) {
        this.couponNo = couponNo;
    }

    public String getMcNo() {
        return mcNo;
    }

    public void setMcNo(String mcNo) {
        this.mcNo = mcNo;
    }

    public String getRuleIndex() {
        return ruleIndex;
    }

    public void setRuleIndex(String ruleIndex) {
        this.ruleIndex = ruleIndex;
    }

    public String getCriteria() {
        return criteria;
    }

    public void setCriteria(String criteria) {
        this.criteria = criteria;
    }

    public String getCouponType() {
        return couponType;
    }

    public void setCouponType(String couponType) {
        this.couponType = couponType;
    }

    public String getCouponStatus() {
        return couponStatus;
    }

    public void setCouponStatus(String couponStatus) {
        this.couponStatus = couponStatus;
    }

    public String getCouponAmt() {
        return couponAmt;
    }

    public void setCouponAmt(String couponAmt) {
        this.couponAmt = couponAmt;
    }

    public String getPurchaseFlag() {
        return purchaseFlag;
    }

    public void setPurchaseFlag(String purchaseFlag) {
        this.purchaseFlag = purchaseFlag;
    }

    public String getPurchaseAmt() {
        return purchaseAmt;
    }

    public void setPurchaseAmt(String purchaseAmt) {
        this.purchaseAmt = purchaseAmt;
    }

    public String getClaimType() {
        return claimType;
    }

    public void setClaimType(String claimType) {
        this.claimType = claimType;
    }

    public String getClaimUserId() {
        return claimUserId;
    }

    public void setClaimUserId(String claimUserId) {
        this.claimUserId = claimUserId;
    }

    public String getClaimDate() {
        return claimDate;
    }

    public void setClaimDate(String claimDate) {
        this.claimDate = claimDate;
    }

    public String getClaimTime() {
        return claimTime;
    }

    public void setClaimTime(String claimTime) {
        this.claimTime = claimTime;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getRedeemTime() {
        return redeemTime;
    }

    public void setRedeemTime(String redeemTime) {
        this.redeemTime = redeemTime;
    }

    public String getCouponStartDate() {
        return couponStartDate;
    }

    public void setCouponStartDate(String couponStartDate) {
        this.couponStartDate = couponStartDate;
    }

    public String getCouponEndDate() {
        return couponEndDate;
    }

    public void setCouponEndDate(String couponEndDate) {
        this.couponEndDate = couponEndDate;
    }

    public String getOprId() {
        return oprId;
    }

    public void setOprId(String oprId) {
        this.oprId = oprId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getLastOprId() {
        return lastOprId;
    }

    public void setLastOprId(String lastOprId) {
        this.lastOprId = lastOprId;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }

    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

    public String getRemark3() {
        return remark3;
    }

    public void setRemark3(String remark3) {
        this.remark3 = remark3;
    }

    public String getRemark4() {
        return remark4;
    }

    public void setRemark4(String remark4) {
        this.remark4 = remark4;
    }

    public String getRemark5() {
        return remark5;
    }

    public void setRemark5(String remark5) {
        this.remark5 = remark5;
    }

    public String getRuleContent() {
        return ruleContent;
    }

    public void setRuleContent(String ruleContent) {
        this.ruleContent = ruleContent;
    }

    public String getRowno() {
        return rowno;
    }

    public void setRowno(String rowno) {
        this.rowno = rowno;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TMCouponInfo that = (TMCouponInfo) o;
        return Objects.equals(mcNo, that.mcNo);
    }

    @Override
    public int hashCode() {
        return Objects.hash(mcNo);
    }
}
